﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SceneController : MonoBehaviour {

    public GameObject canvas;
    public float waitTime;

	// Use this for initialization
	void Start () {
        StartCoroutine(WaitForCanvas());
	}
	
	// Update is called once per frame
	void Update () {
		
	}

    IEnumerator WaitForCanvas()
    {
        yield return new WaitForSeconds(waitTime);
        canvas.SetActive(true);
    }
}
